﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="套管销售日报表.aspx.cs" Inherits="syc.Sale.Report.套管销售日报表" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <script type="text/javascript" language="javascript" src="/common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
            <div class="hooo">
        <div id="wintop" class="wintop"><span lang="zh-cn"><u>套管销售日报表</u></span></div>
        <asp:Panel ID="Panel1" runat="server" CssClass="panel" Height="76px" Width="972px">
  
        <table>
        <tr id="row2" runat="server">
        <td>
        年份:
        </td>
        <td>
        <asp:DropDownList ID="DList_year" runat="server" AutoPostBack="True">
            <asp:ListItem>2009</asp:ListItem>
            <asp:ListItem>2010</asp:ListItem>
            <asp:ListItem>2011</asp:ListItem>
            <asp:ListItem>2012</asp:ListItem>
            <asp:ListItem>2013</asp:ListItem>
            <asp:ListItem>2014</asp:ListItem>
            <asp:ListItem>2015</asp:ListItem>
            <asp:ListItem></asp:ListItem>
        </asp:DropDownList>
        </td>
        <td>
        <asp:DropDownList ID="DList_Type" runat="server" AutoPostBack="True">
            <asp:ListItem>行政月：</asp:ListItem>
        </asp:DropDownList>
        </td>
        <td>
        <asp:DropDownList ID="DList_month" runat="server" AutoPostBack="True">
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>4</asp:ListItem>
            <asp:ListItem>5</asp:ListItem>
            <asp:ListItem>6</asp:ListItem>
            <asp:ListItem>7</asp:ListItem>
            <asp:ListItem>8</asp:ListItem>
            <asp:ListItem>9</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
        </asp:DropDownList>
        </td>
        </tr>
        <tr id="row3" runat="server">
        <td>
        开始日期：
        </td>
        <td>
        <asp:TextBox ID="RiQiStart" runat="server" CssClass="intxt1" Width="110px"></asp:TextBox>
        <img alt="" src="/Icons/29.png" align="middle" onclick="makecalendar(document.getElementById('DList_year').value+'年'+document.getElementById('DList_month').value+'月'+'01日', document.getElementById('RiQiStart'));" />
        </td>
        <td>
        结束日期：
        </td>
        <td>
        <asp:TextBox ID="RiQiEnd" runat="server" CssClass="intxt1" Width="110px"></asp:TextBox>
        <img alt=""  src="/Icons/29.png" align="middle" onclick="makecalendar(document.getElementById('DList_year').value+'年'+document.getElementById('DList_month').value+'月'+'01日', document.getElementById('RiQiEnd'));" />
        </td>
        </tr>
        <tr id="row4" runat="server">
        <td>
        日期：
        </td>
        <td>
         <asp:TextBox ID="RiQi" runat="server" CssClass="intxt1" Width="110px"></asp:TextBox>
         <img alt=""  src="/Icons/29.png" align="middle" onclick="makecalendar(document.getElementById('RiQi').value, document.getElementById('RiQi'));" />
         </td>
        </tr>
        </table>
        </asp:Panel>
        <asp:Panel ID="Panel2" runat="server" CssClass="panel2" Width="962px">
        <asp:Label ID="Message" runat="server" Text="·准备就绪" CssClass="prompt" Visible="True"></asp:Label>
        </asp:Panel> 
    
        <h1 style="text-align: center;">
            套管销售日报表</h1>

        <div align="center"> 
       <asp:Label ID="Label1" runat="server" Text="Label" style="text-align: right;">填报日期：7月29日</asp:Label>   
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="SqlDataSource1" style="text-align: center" BorderColor="Black" 
                BorderStyle="Solid" BorderWidth="2px">
            <Columns>
                <asp:TemplateField HeaderText="序号" InsertVisible="False">
                    <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle HorizontalAlign="Center" Width="5%" />
                    <ItemTemplate>
                        <asp:Label ID="Label2" runat="server" Text='<%# this.GridView1.PageIndex * this.GridView1.PageSize + this.GridView1.Rows.Count + 1%>'/>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:BoundField DataField="接货单位" HeaderText="接货单位" 
                    SortExpression="接货单位" />
                <asp:BoundField DataField="当日车数" HeaderText="当日车数" 
                    SortExpression="当日车数" />
                <asp:BoundField DataField="当日支数" HeaderText="当日支数" SortExpression="当日支数" />
                <asp:BoundField DataField="当日重量" HeaderText="当日重量" SortExpression="当日重量" />
                <asp:BoundField DataField="当月车数" HeaderText="当月车数" SortExpression="当月车数" />
                <asp:BoundField DataField="当月支数" HeaderText="当月支数" 
                    SortExpression="当月支数" />
                <asp:BoundField DataField="当月重量" HeaderText="当月重量" 
                    SortExpression="当月重量" />
                <asp:BoundField DataField="全年车数" HeaderText="全年车数" 
                    SortExpression="全年车数" />
                <asp:BoundField DataField="全年支数" HeaderText="全年支数" 
                    SortExpression="全年支数" />
                <asp:BoundField DataField="全年重量" HeaderText="全年重量" 
                    SortExpression="全年重量" />
            </Columns>
        </asp:GridView>
        </div>
    
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SCMConnectionString1 %>" 
            SelectCommand="SELECT * FROM [销售油管销售日报表【视图】]"></asp:SqlDataSource>
    
    </div>
    </form>
    </form>
</body>
</html>
